Subtract

Block Group: Math Operations
Icon: Subtract block icon

The Subtract block subtracts its arguments.

Subtraction is calculated in order, top to bottom.


Input/Output Property

The following property of the Subtract block can take input and give output.


Output Property

The following property of the Subtract block can give output but cannot take input.


Examples

The following image shows two examples of the Subtract block. In the rightmost Subtract block, two different data types are used: a number and a string representation of a number.

Subtract block examples